<template>
    <!-- <div>
        <input :value="fangfang" @input="emit('update:geyaochild',$event.target.value)" />
    </div> -->
    <div>
        孙子
       {{geyao}}
       {{ money }}
       <button @click="minus(6)">-</button>
       
    </div>
</template>

<!-- <Geyao  :value="fangfang" @update:fangfang="emit" /> -->
<script setup>

import { defineProps, inject } from 'vue'

var geyao = inject('geyao')
var {money,minus }= inject('minus')
// var emit =defineEmits(['update:fangfang'])
</script>